package com.study.talk.netty.message.response;

import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

/**
 *  申请加入群聊消息响应
 */



public class ApplyGroupResponse extends TalkMessage {

    //("申请人id")
    private Integer applyUserId;

    //("申请人昵称")
    private String applyUserName;

    //("群聊id")
    private Integer groupId;

    //("群聊名称")
    private String groupName;

    @Override
    public byte getType() {
        return MessageType.APPLY_GROUP_RESPONSE;
    }

    public ApplyGroupResponse(Integer applyUserId, String applyUserName, Integer groupId, String groupName) {
        this.applyUserId = applyUserId;
        this.applyUserName = applyUserName;
        this.groupId = groupId;
        this.groupName = groupName;
    }

    public ApplyGroupResponse() {
    }

    public Integer getApplyUserId() {
        return applyUserId;
    }

    public void setApplyUserId(Integer applyUserId) {
        this.applyUserId = applyUserId;
    }

    public String getApplyUserName() {
        return applyUserName;
    }

    public void setApplyUserName(String applyUserName) {
        this.applyUserName = applyUserName;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
}
